#!/bin/bash

# 初始化
sqoop2-tool upgrade

# 验证
sqoop2-tool verify

# 启动服务
sqoop2-server start

tail -f /opt/apache/sqoop/@LOGDIR@/sqoop.log
